import { defineStore } from "pinia";

export const useMapStore = defineStore("map", {
  state: () => {
    return {
      mapId: null as Number | null ,
    };
  },
  actions: {
    setMapId(id: Number) {
      this.mapId = id;
    },
  },
});
